# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Lookup)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Lookup_SRCS lookupPlugin.cpp)
QT4_WRAP_CPP(Lookup_SRCS lookupPlugin.h)

add_library(Lookup SHARED ${Lookup_SRCS})
add_dependencies(Lookup KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Lookup KontAMabil ${QT_LIBRARIES})

install(TARGETS Lookup DESTINATION "${QT_PLUGINS_DIR}/designer" LIBRARY)
install(TARGETS Lookup ${INSTALL_DESIGNER_PLUGINS_DEFAULT_ARGS} )
